package com.example.mybatisplus.mapper;

import com.example.mybatisplus.model.domain.DictData;
import com.example.mybatisplus.model.domain.VisitResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lxp
 * @since 2022-05-31
 */
@Repository
public interface VisitResultMapper extends BaseMapper<VisitResult> {

    void addvisitResult(VisitResult visitResult);

    VisitResult getvisitRsultbyteaIdandstuIdandvisitTime(Long stuId, Long teaId, String visit_time);

    List<VisitResult> getvisitRusultbystuId(Long id);

    List<VisitResult> getall();

    List<DictData> getdiseaseResuldict();

}
